Try to mitigate DNS failures when downloading stuff asynchronously
authorLars Ingebrigtsen <larsi@gnus.org>
Mon, 6 Feb 2012 01:13:24 +0000 (02:13 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 6 Feb 2012 01:13:24 +0000 (02:13 +0100)
commit31492bf292c6820ffc5aa9d674925b387b48737a
tree92fbe9cc723bac099505df01329f6dc991feec0e
parent8157670f1e792accd15cc7eab547267abf9bef58
Try to mitigate DNS failures when downloading stuff asynchronously

* url-queue.el (url-queue-setup-runners): New function that uses
`run-with-idle-timer' for extra asynchronicity.
(url-queue-remove-jobs-from-host): New function.
(url-queue-callback-function): Remove jobs from the same host if
connection failed.
lisp/url/ChangeLog
lisp/url/url-queue.el